package com.un10.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.un10.entity.Odersdentails;
import com.un10.entity.Orders;

public interface OrdersMapper {

	public int getCount();// ������
	// ��ѯ

	public List<Orders> getAllOrders(@Param("page") int page, @Param("limit") int limit,@Param("orderStatus") String orderStatus);

	 public Integer OrdersUpdate(Map<String, Object> map);
	public Integer OrderssDelete(@Param("orderID") int orderID);
	
	 //订单详情
//   	public List<Map<String, Object>> getOdersdetailsAll(Map<String, Object> m);
   	public  List<Odersdentails> getOdersdetailsAll(@Param("page") int page, @Param("limit") int limit,@Param("orderID") Integer  orderID); 
	 public int getCountOrder();
}
